package com.example.wxai.pijo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.List;

@Data
public class CommentVo {

    private static final long serialVersionUID = 1L;

    @TableId(value = "comment_id", type = IdType.AUTO)
    private Long commentId;

    private String content;

    private String creatTime;

    private Boolean isDelete;

    private String userId;

    private String essayId;

    //评论点赞数量
    private Integer commentLikeCount;

    private Long toCommentId;

    private String userImg;

    private String userName;
    //顶级评论的id
    private Long rootCommentId;

    //只装前三条
    private List subCommentList;

    //子评论总数
    private Long subCommentCount;

    //回复谁
    private String subCommentName;


    //评论是否被我点赞
    private Boolean isCommentLikes;
}
